package com.blueocean_health.care.management.domain.dto;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.blueocean_health.care.management.em.TransTypeEnum;

public class SettlementDto {
	private Date time;
	private String transType;
	@SuppressWarnings("unused")
	private String transTypeName;
	private String receiptNumber;
	@JSONField(format = "yyyy-MM-dd")
	private Date billingTime;
	private String userId;
	private String userName;
	@JSONField(format = "yyyy-MM-dd")
	private Date patientSignDate;
	private String patientSign;
	private String serviceOrderTime;
	private Double amount;
	
	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getPatientSignDate() {
		return patientSignDate;
	}

	public void setPatientSignDate(Date patientSignDate) {
		this.patientSignDate = patientSignDate;
	}

	public String getPatientSign() {
		return patientSign;
	}

	public void setPatientSign(String patientSign) {
		this.patientSign = patientSign;
	}

	public String getServiceOrderTime() {
		return serviceOrderTime;
	}

	public void setServiceOrderTime(String serviceOrderTime) {
		this.serviceOrderTime = serviceOrderTime;
	}

	public Date getBillingTime() {
		return billingTime;
	}

	public void setBillingTime(Date billingTime) {
		this.billingTime = billingTime;
	}


	public void setTime(Date time) {
		this.time = time;
	}

	@JSONField(format = "yyyy-MM-dd")
	public Date getTime() {
		return time;
	}




	public String getTransType() {
		return transType;
	}

	public void setTransType(String transType) {
		this.transType = transType;
	}

	public String getTransTypeName() {
		return transType == null ||"".equals(transType)? null : TransTypeEnum.valueOf("_" + transType).getVal();
	}

	public void setTransTypeName(String transTypeName) {
		this.transTypeName = transTypeName;
	}

	public String getReceiptNumber() {
		return receiptNumber;
	}

	public void setReceiptNumber(String receiptNumber) {
		this.receiptNumber = receiptNumber;
	}


}
